package cn.xc.org.domain;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.xc.basic.domain.BaseDomain;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
public class Shop extends BaseDomain {
    //店鋪名稱
    @Excel(name = "店鋪名稱", width = 30)
    private String name;
    //店鋪電話
    @Excel(name = "店鋪電話", width = 30)
    private String tel;
    //店鋪入駐時間
    @Excel(name = "店鋪入駐時間", width = 30, exportFormat = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date registerTime = new Date();
    //店鋪狀態
    private Integer state=1;
    //店鋪地址
    @Excel(name = "店鋪地址", width = 30)
    private String address;
    //店鋪logo
    private String logo;
    //店鋪管理人員的id
    private Long admin_id;
    //保存店鋪管理人員信息
    @Excel(name = "店鋪管理人", width = 30)
    private Employee admin;
    //保存店鋪員工
    private Employee employee;
}
